//
//  ViewController.swift
//  AlertViewController
//
//  Created by SmartStrategy on 2019/4/16.
//  Copyright © 2019 SmartStrategy. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
    }

    @IBAction func buttonClick(_ sender: Any) {
        let datavc = ZCDateViewController.showAlertView()
        datavc.controllerBlock = {
            self.dismiss(animated: true, completion: nil)
        }
        self.present(datavc, animated: true, completion: nil)
    }
    
}

